package com.eunion.web.common.vo;

/**
 * WEB展示的数据.
 * 
 * 
 * @version 2015-9-13
 */
// @Component
public class WebPageVo {
	/**
	 * 根目录.
	 */
	private String root = "首页";

	/**
	 * 根地址.
	 */
	private String rootUrl = Web.ROOT_URL;

	/**
	 * 根英文.
	 */
	private String rootEn = "index";

	/**
	 * 当前菜单中文名.
	 */
	private String menu;

	/**
	 * 当前菜单英文.
	 */
	private String menuEn;

	private String action;

	public WebPageVo() {
	}

	/**
	 * get 根目录 .
	 * 
	 * @return the root
	 */
	public String getRoot() {
		return root;
	}

	/**
	 * set 根目录.
	 * 
	 * @param root
	 *            the root to set
	 */
	public WebPageVo setRoot(String root) {
		this.root = root;
		return this;
	}

	/**
	 * get 根地址 .
	 * 
	 * @return the rootUrl
	 */
	public String getRootUrl() {
		return rootUrl;
	}

	/**
	 * set 根地址.
	 * 
	 * @param rootUrl
	 *            the rootUrl to set
	 */
	public WebPageVo setRootUrl(String rootUrl) {
		this.rootUrl = rootUrl;
		return this;
	}

	/**
	 * get 根英文 .
	 * 
	 * @return the rootEn
	 */
	public String getRootEn() {
		return rootEn;
	}

	/**
	 * set 根英文.
	 * 
	 * @param rootEn
	 *            the rootEn to set
	 */
	public WebPageVo setRootEn(String rootEn) {
		this.rootEn = rootEn;
		return this;
	}

	/**
	 * get 当前菜单中文名 .
	 * 
	 * @return the menu
	 */
	public String getMenu() {
		return menu;
	}

	/**
	 * set 当前菜单中文名.
	 * 
	 * @param menu
	 *            the menu to set
	 */
	public WebPageVo setMenu(String menu) {
		this.menu = menu;
		return this;
	}

	/**
	 * get 当前菜单英文 .
	 * 
	 * @return the menuEn
	 */
	public String getMenuEn() {
		return menuEn;
	}

	/**
	 * set 当前菜单英文.
	 * 
	 * @param menuEn
	 *            the menuEn to set
	 */
	public WebPageVo setMenuEn(String menuEn) {
		this.menuEn = menuEn;
		return this;
	}

	public String getAction() {
		return action;
	}

	public WebPageVo setAction(String action) {
		this.action = action;
		return this;
	}

}
